<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('Tempname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tempname" class="form-control" name="row[tempname]" type="text" value="{$row.tempname}">
        </div>
    </div>

    <div class="form-group">
        <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text" value="{$row.title}">

        </div>
    </div>

    <div class="form-group">
        <label for="c-itemInfo" class="control-label col-xs-12 col-sm-2">{:__('ItemInfo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-itemInfo" data-rule="required" class="form-control summernote" rows="5" name="row[itemInfo]" cols="50">{$row.itemInfo}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-itemImages" class="control-label col-xs-12 col-sm-2">{:__('ItemImages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline">
                <input id="c-itemImages" data-rule="" class="form-control" size="50" name="row[itemImages]" type="text" value="{$row.itemImages}">
                <span><button type="button" id="plupload-itemImages" class="btn btn-danger plupload"  data-url="{:url('ajax/upload',array('from'=>'borrow'))}"  data-input-id="c-itemImages" data-mimetype="image/*" data-multiple="true" data-preview-id="p-itemImages"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                <span><button type="button" id="fachoose-itemImages" class="btn btn-primary fachoose" data-input-id="c-itemImages" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                <ul class="row list-inline plupload-preview" id="p-itemImages"></ul>
            </div>
        </div>
    </div>

    <div class="form-group">
        <label for="c-borrowerInfo" class="control-label col-xs-12 col-sm-2">{:__('BorrowerInfo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-borrowerInfo" data-rule="required" class="form-control summernote" rows="5" name="row[borrowerInfo]" cols="50">{$row.borrowerInfo}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-borrowerImages" class="control-label col-xs-12 col-sm-2">{:__('BorrowerImages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline">
                <input id="c-borrowerImages" data-rule="" class="form-control" size="50" name="row[borrowerImages]" type="text" value="{$row.borrowerImages}">
                <span><button type="button" id="plupload-borrowerImages" class="btn btn-danger plupload" data-url="{:url('ajax/upload',array('from'=>'borrow'))}" data-input-id="c-borrowerImages" data-mimetype="image/*" data-multiple="true" data-preview-id="p-borrowerImages"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                <span><button type="button" id="fachoose-borrowerImages" class="btn btn-primary fachoose" data-input-id="c-borrowerImages" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                <ul class="row list-inline plupload-preview" id="p-borrowerImages"></ul>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="c-repaymentInfo" class="control-label col-xs-12 col-sm-2">{:__('RepaymentInfo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-repaymentInfo" data-rule="required" class="form-control summernote" rows="5" name="row[repaymentInfo]" cols="50">{$row.repaymentInfo}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-repaymentImages" class="control-label col-xs-12 col-sm-2">{:__('RepaymentImages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline">
                <input id="c-repaymentImages" data-rule="" class="form-control" size="50" name="row[repaymentImages]" type="text" value="{$row.repaymentImages}">
                <span><button type="button" id="plupload-repaymentImages" class="btn btn-danger plupload" data-url="{:url('ajax/upload',array('from'=>'borrow'))}" data-input-id="c-repaymentImages" data-mimetype="image/*" data-multiple="true" data-preview-id="p-repaymentImages"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                <span><button type="button" id="fachoose-repaymentImages" class="btn btn-primary fachoose" data-input-id="c-repaymentImages" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                <ul class="row list-inline plupload-preview" id="p-repaymentImages"></ul>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="c-riskInfo" class="control-label col-xs-12 col-sm-2">{:__('RiskInfo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-riskInfo" data-rule="required" class="form-control summernote" rows="5" name="row[riskInfo]" cols="50">{$row.riskInfo}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-riskImages" class="control-label col-xs-12 col-sm-2">{:__('RiskImages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline">
                <input id="c-riskImages" data-rule="" class="form-control" size="50" name="row[riskImages]" type="text" value="{$row.riskImages}">
                <span><button type="button" id="plupload-riskImages" class="btn btn-danger plupload" data-url="{:url('ajax/upload',array('from'=>'borrow'))}" data-input-id="c-riskImages" data-mimetype="image/*" data-multiple="true" data-preview-id="p-riskImages"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                <span><button type="button" id="fachoose-riskImages" class="btn btn-primary fachoose" data-input-id="c-riskImages" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                <ul class="row list-inline plupload-preview" id="p-riskImages"></ul>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="c-projectInfo" class="control-label col-xs-12 col-sm-2">{:__('ProjectInfo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-projectInfo" data-rule="" class="form-control summernote" rows="5" name="row[projectInfo]" cols="50">{$row.projectInfo}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-projectImages" class="control-label col-xs-12 col-sm-2">{:__('ProjectImages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline">
                <input id="c-projectImages" data-rule="" class="form-control" size="50" name="row[projectImages]" type="text" value="{$row.projectImages}">
                <span><button type="button" id="plupload-projectImages" class="btn btn-danger plupload" data-url="{:url('ajax/upload',array('from'=>'borrow'))}" data-input-id="c-projectImages" data-mimetype="image/*" data-multiple="true" data-preview-id="p-projectImages"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                <span><button type="button" id="fachoose-projectImages" class="btn btn-primary fachoose" data-input-id="c-projectImages" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                <ul class="row list-inline plupload-preview" id="p-projectImages"></ul>
            </div>
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
